colorplane: Fully port to GtkGesture
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 14 May 2014 10:56:16 +0000 (12:56 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 23 May 2014 17:54:31 +0000 (19:54 +0200)
commit70ea24b9e8be0f119ee9a51bb08e8b23d4ca0c10
tree5d7371d8bc5b91f716602727ced49ac581f3e2fa
parenta6526eb82081811316d73597dda740930b18fc9e
colorplane: Fully port to GtkGesture

A GtkGestureDrag is used for color selection, removing also the
need to track the pointer state in widget data. The GDK grab performed
just to set the crosshair cursor has been replaced by a call
to gdk_window_set_device_cursor(), which will be unset if the
drag operation is finished, or cancelled due to the implicit grab
being broken.
gtk/gtkcolorplane.c